課程概述 |
參考書籍 : 1. G. Zirkel & E. Berlinger, Understanding Fortran 77 & 90,
1993.
2. L. Nyhoff & S. Leestma, Fortran 77 and Numerical
Methods for Engineers and Scientists, 1995
預修課程 : 無
成績評量 : 50% 作業,25% 期中考,25% 期末考
內容綱要 :
1. Expressions and Assignment Statements
Variables and constants
Expressions
Functions
Simple program with assignment statements
Arrays and array elements
Double precision numbers in Fortran
2. Program Structures for Selection
Alternative statement sequences
Logical expressions
Program termination : The STOP and END statements
Explicit control of program execution sequence
3. Program Structures for Repetition
Count-controlled repetition
Nested iterations
The terminal statement of a DO loop
Conditional looping
4. Input and Output
Input and output concepts
The format description
The control list
Files
5. Defining and Using Subprograms
Defining a subroutine or external function
The common declaration
Statement functions
6. Fortran Application
Table sorting, indirect sorting
Interpolation
Linear systems and matrices
Root finding
Integration
|